type compress/flate.compressor
31 uses
compress/flate (current package)
deflate.go#L104: type compressor struct {
deflate.go#L111: fill func(*compressor, []byte) int // copy data to window
deflate.go#L112: step func(*compressor) // process window
deflate.go#L129: func (d *compressor) fillDeflate(b []byte) int {
deflate.go#L162: func (d *compressor) writeBlock(tok *tokens, index int32, eof bool) error {
deflate.go#L178: func (d *compressor) writeBlockSkip(tok *tokens, index int32, eof bool) error {
deflate.go#L203: func (d *compressor) fillWindow(b []byte) {
deflate.go#L258: func (d *compressor) findMatch(pos int32, prevHead int32, lookahead int32) (length, offset int32, ok bool) {
deflate.go#L319: func (d *compressor) writeStoredBlock(buf []byte) error {
deflate.go#L356: func (d *compressor) initDeflate() {
deflate.go#L374: func (d *compressor) tryBetterMatchAtEnd(prevLength, prevOffset, lookahead int32) (newLen, newOff int32) {
deflate.go#L435: func (d *compressor) skipLiterals() bool {
deflate.go#L477: func (d *compressor) deflateLazy() {
deflate.go#L610: func (d *compressor) store() {
deflate.go#L619: func (d *compressor) fillBlock(b []byte) int {
deflate.go#L628: func (d *compressor) deflateHuff() {
deflate.go#L640: func (d *compressor) deflateFast() {
deflate.go#L682: func (d *compressor) write(b []byte) (n int, err error) {
deflate.go#L702: func (d *compressor) syncFlush() error {
deflate.go#L718: func (d *compressor) init(w io.Writer, level int) (err error) {
deflate.go#L724: d.fill = (*compressor).fillBlock
deflate.go#L725: d.step = (*compressor).store
deflate.go#L729: d.fill = (*compressor).fillBlock
deflate.go#L730: d.step = (*compressor).deflateHuff
deflate.go#L738: d.fill = (*compressor).fillBlock
deflate.go#L739: d.step = (*compressor).deflateFast
deflate.go#L745: d.fill = (*compressor).fillDeflate
deflate.go#L746: d.step = (*compressor).deflateLazy
deflate.go#L755: func (d *compressor) reset(w io.Writer) {
deflate.go#L786: func (d *compressor) close() error {
deflate.go#L858: d compressor